package com.yanqu.road.entity.log.springdraw;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_spring_draw_draw", autoSave = true, dataUpload = true, eventName = "flowerspring_water",uploadCk = true,desc = "花袭春意抽奖日志")
public class LogActivitySpringDrawDraw extends ServerBaseLog {

    /**
     * 活动ID
     */
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;

    /**
     * 玩家ID
     */
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;

    /**
     * 关卡ID
     */
    @FieldTypeAnnotation(desc = "关卡ID", dataAttribute = "flowerspring_water")
    private long level;

    /**
     * 1:单次，2:10连
     */
    @FieldTypeAnnotation(desc = "1:单次，2:10连", dataAttribute = "flowerspring_watertype")
    private int type;

    /**
     * 浇灌位置
     */
    @FieldTypeAnnotation(desc = "浇灌位置", dataAttribute = "flowerspring_waterpos")
    private String position;

    /**
     * 浇灌获得迎春花
     */
    @FieldTypeAnnotation(desc = "浇灌获得迎春花", dataAttribute = "flowerspring_watergetflo")
    private long getScore;

    /**
     * 当前迎春花数
     */
    @FieldTypeAnnotation(desc = "当前迎春花数", dataAttribute = "flowerspring_waternowflo")
    private long nowScore;

    /**
     * 获得连线奖励
     */
    @FieldTypeAnnotation(desc = "获得连线奖励", dataAttribute = "flowerspring_waterlineget")
    private String lineReward;

    /**
     * 获得通关奖励
     */
    @FieldTypeAnnotation(desc = "获得通关奖励", dataAttribute = "flowerspring_waterkeyget")
    private String passReward;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getLevel() {
        return level;
    }

    public void setLevel(long level) {
        this.level = level;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public long getGetScore() {
        return getScore;
    }

    public void setGetScore(long getScore) {
        this.getScore = getScore;
    }

    public long getNowScore() {
        return nowScore;
    }

    public void setNowScore(long nowScore) {
        this.nowScore = nowScore;
    }

    public String getLineReward() {
        return lineReward;
    }

    public void setLineReward(String lineReward) {
        this.lineReward = lineReward;
    }

    public String getPassReward() {
        return passReward;
    }

    public void setPassReward(String passReward) {
        this.passReward = passReward;
    }
}
